<!--

    Copyright (c) 2012, Mayocat <hello@mayocat.org>

    This Source Code Form is subject to the terms of the Mozilla Public
    License, v. 2.0. If a copy of the MPL was not distributed with this
    file, You can obtain one at http://mozilla.org/MPL/2.0/.

-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">

    <title>Error</title>

    <link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>

    <style>
        /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
        article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:0 0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

        /* Our style */
        * { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

        body {
            background-color: #fffce9;
            font-family: sans-serif;
        }

        section#main {
            width: 960px;
            border-left: 1px solid #eee;
            border-right: 1px solid #eee;
            border-top: 1px solid #eee;
            background: white;
            margin-left: auto;
            margin-right: auto;
            padding: 15px;
        }

        header {
            width: 960px;
            height: 164px;
            padding-top: 10px;
            margin-left: auto;
            margin-right: auto;
        }

        .cat {
            width: 100%;
            height: 154px;
            background-repeat: no-repeat;
            background-position: center center;
            background-image: url();
        }

        h1, h2, h3 {
            color: black;
            font-family: 'Lato', sans-serif;
            font-weight: 400;
        }

        h1 {
            font-size: 32px;
        }

        hr {
            border-top: 1px solid #400101;
        }

        .code {
            padding: 5px;
            white-space: pre;
            font-family: sans-serif;
            font-size: 13px;
            line-height: 15px;
            color: #333;
            white-space: pre;
            word-wrap: break-word;
        }

        .error {
            background-color: #bf0404;
            color: white;
            font-size: 14px;
        }
    </style>
</head>
<body>

<header>
    <div class="cat"></div>
</header>

<section id="main">
    <h1>Bang !&$%@?</h1>

    There was an error when rendering template <strong>{{template}}</strong> <br>
    <i style="font-size:12px">Note: the error might also be in the <strong>index.html</strong> master template</i>

    <h3>Error information</h3>
    <div class="error code"><pre>{{error}}</pre></div>

    <h3>JSON Context</h3>
    <div class="code"><pre>{{context}}</pre></div>
    <div id="tree"></div>
</section>

</body>
</html>
